Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent style leaking with exported webcomponents #19722

Closed
wants to merge 4 commits into from

Conversation

mcollovati
Copy link
Collaborator

No description provided.

@mcollovati
Copy link
Collaborator Author

mcollovati commented Jul 25, 2024

This is an experimental attempt to try to fix some exported web-components issues:

  • styles leaking in the embedding document
  • styles leaking between web-components from different applications
  • JavaScript import errors when embedding from different applications

Related to #19700

Copy link

github-actions bot commented Jul 25, 2024

Test Results

  589 files   -   539    589 suites   - 539   1h 9m 19s ⏱️ - 11m 57s
1 015 tests  - 6 292    980 ✅  - 6 277  35 💤  - 15  0 ❌ ±0 
1 339 runs   - 6 295  1 294 ✅  - 6 280  45 💤  - 15  0 ❌ ±0 

Results for commit f9920ce. ± Comparison against base commit f81d6bd.

This pull request removes 6293 and adds 1 tests. Note that renamed tests count towards both.
com.vaadin.AssertionTest ‑ testAssertionsAreEnabled
com.vaadin.base.devserver.AbstractDevServerRunnerTest ‑ shouldPassEncodedUrlToDevServer
com.vaadin.base.devserver.AbstractDevServerRunnerTest ‑ updateServerStartupEnvironment_preferIpv4_LocalhostIpAddressAddedToProcessEnvironment
com.vaadin.base.devserver.AbstractDevServerRunnerTest ‑ updateServerStartupEnvironment_preferIpv6_LocalhostIpAddressAddedToProcessEnvironment
com.vaadin.base.devserver.BrowserLiveReloadAccessorImplTest ‑ getLiveReload_devMode_contextHasNoReloadInstance_instanceIsCreated
com.vaadin.base.devserver.BrowserLiveReloadAccessorImplTest ‑ getLiveReload_devMode_contextHasReloadInstance_instanceIsReturned
com.vaadin.base.devserver.BrowserLiveReloadAccessorImplTest ‑ getLiveReload_liveReloadDisabled_instanceIsCreated
com.vaadin.base.devserver.BrowserLiveReloadAccessorImplTest ‑ getLiveReload_productionMode_nullIsReturned
com.vaadin.base.devserver.DebugWindowConnectionTest ‑ backwardsCompatibilityClassExists
com.vaadin.base.devserver.DebugWindowConnectionTest ‑ getBackend_HotSwapVaadinIntegrationClassLoaded_returnsHOTSWAP_AGENT
…
com.vaadin.flow.webcomponent.ApplicationThemeComponentIT ‑ cssImportAnnotation_doNotLeakEmbeddingPage[any_Chrome_]

♻️ This comment has been updated with latest results.

@mcollovati
Copy link
Collaborator Author

mcollovati commented Jul 26, 2024

It looks like this experiment is breaking everything

EDIT: failures were caused by a missing import in flow generated imports file.

@vaadin-bot vaadin-bot added +1.0.0 and removed +0.0.1 labels Jul 29, 2024
@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Jul 29, 2024
Copy link

sonarcloud bot commented Jul 29, 2024

@mshabarov mshabarov closed this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants